package org.opensourceway.sbom.model.cyclonedx;

import com.fasterxml.jackson.annotation.JsonValue;

public enum VulnerabilitySeverity {

    CRITICAL("critical"),

    HIGH("high"),

    MEDIUM("medium"),

    LOW("low"),

    INFO("info"),

    NONE("none"),

    UNKNOWN("unknown");


    private final String severity;

    VulnerabilitySeverity(String severity) {
        this.severity = severity;
    }

    @JsonValue
    public String getSeverity() {
        return severity;
    }
}
